@import url(../assets/fonts/fonts.css);
html {
	--background: url(../assets/images/InitialBackground.png);
	background: var(--background) center center no-repeat fixed;
	background-size: cover !important;
	box-sizing: border-box;
	transition: all 0.3s ease-in-out;
}
html::before{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background) center center no-repeat fixed;
    background-size: cover;
    filter: blur(15px);
    z-index: -1;
}
html,
body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	backdrop-filter: blur(10px);
	box-sizing: border-box;
	overflow: hidden;
}
div.darkOverlay {
	position: fixed;
	background-color: #000;
	top: 0;
	left: 0;
	height: 0;
	width: 0;
	z-index: 999;
	animation: fadeIn 0.5s linear;
}
@keyframes fadeIn {
	0% {
		height: 100%;
		width: 100%;
		opacity: 1;
	}
	100% {
		height: 100%;
		width: 100%;
		opacity: 0;
	}
}
div.backBtn {
	position: fixed;
	left: -15px;
	top: 5px;
	width: 100px;
	height: 50px;
	transform: skew(-15deg);
	z-index: 1;
	cursor: pointer;
}
div.backBtn::before {
	content: "";
	position: absolute;
	left: -15px;
	top: 0;
	height: 100%;
	width: 100%;
	background: #000;
	z-index: 1;
	filter: drop-shadow(#fff 5px 0);
}
div.backBtn::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background: url(../assets/images/back.png) no-repeat center center;
	transform: skew(15deg) scale(0.5);
	z-index: 5;
}
div.avatarBar{
	position: fixed;
	right: -6px;
	top: 0;
	margin: 10px 0;
	background-color: #000;
	transform: skew(-15deg);
	/* width: fit-content; */
	height: 50px;
	background:  #000  no-repeat;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: all .3s ease-in-out;
	z-index: 1;
}
div.avatarBar.expand{
	padding-left: 20px;
}
div.avatarBar.expand::before{
	content: attr(data-name);
	color: #FFF;
	width: fit-content;
	font-size: 1.3rem;
	transform: skew(15deg);
	margin-right: 0.8em;
}
div.avatarBar::before{
	content: attr(data-name);
	width: 0;
}
div.avatarBar::after{
	content: attr(data-rks);
	width: 50px;
	text-align: center;
	font-size: 14px;
	transform: translateX(-10px);
	align-self: flex-end;
	color: #000;
	background: #FFF;
	z-index: 10;
}
div.avatarBar>div.avatar{
	height: 100%;
	width: 100px;
	background: url(../assets/images/Introduction.png) no-repeat center center;
	background-size: cover;
	transform: skew(15deg);
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
div.avatarBar>div.avatar::before,
div.avatarBar>div.avatar::after{
	content: '';
	height: 100%;
	width: 20px;
	display: block;
	background: #000;
	transform: skew(-15deg) translateX(-10px);
	margin: 0;
	padding: 0;
}
div.avatarBar>div.avatar::after{
	transform: skew(-15deg) translateX(10px);
}
div.leftArea {
	transform: skew(-15deg);
	position: fixed;
	margin-left: 100px;
	background-color: #00000050;
	height: 100%;
	width: 350px;
}
div.topLeftBar {
	width: 100%;
	height: 35px;
	position: absolute;
	left: 50%;
	top: 15px;
	transform: translateX(-50%);
	z-index: 999;
	background-color: rgba(0, 0, 0, 0.85);
	color: #fff;
	padding: 0 20px 0 2.5px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
div.sortMode::before {
	content: "排序方式\3000\3000\3000\3000";
	font-size: 12px;
	transform: scale(0.8);
}
div.settingBtn,
div.sortMode {
	display: flex;
	align-items: center;
	justify-content: center;
	transform: skew(15deg);
	padding-left: 5px;
	object-position: center center;
	object-fit: contain;
	cursor: pointer;
}
div.settingBtn::after,
div.sortMode::after {
	content: "";
	height: 15px;
	width: 15px;
	background-position: center center;
	background-size: cover;
	display: block;
	margin-left: 10px;
	background-image: url(../assets/images/sort.png);
}
div.songList {
	display: flex;
	position: absolute;
	flex-flow: column;
	margin-top: 100px;
	margin-bottom: 100px;
	overflow: hidden;
	width: 100%;
	/* overflow-y: scroll; */
}
div.settingBtn::after {
	background-image: url(../assets/images/setting.png) !important;
}
div.songItemContainer {
	background: transparent;
	color: #fff;
	font-size: 20px;
	margin: 20px 0 20px 0;
	height: 35px;
	display: flex;
	padding: 0 20px 0 20px;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}
div.songItemContainer > div.songItem {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
	transform: skew(15deg);
}
div.songItemContainer > div.level {
	transform: skew(15deg);
	width: fit-content;
	width: -moz-fit-content;
	display: flex;
	align-items: center;
}
div.songItemContainer > div.level::before {
	content: "";
	/* display: block; */
	display: none;
	width: 25px;
	height: 25px;
	background: var(--historyGrade) no-repeat center center;
	background-size: cover;
	margin: 0 30px 0 0;
}
div.playBtn {
	position: fixed;
	right: 0px;
	bottom: 15px;
	width: 100px;
	height: 85px;
	z-index: 999;
}
div.songItemContainer > div.level::after {
	content: attr(data-level);
	width: 30px;
	font-size: 28px;
}
div.songItemContainer.selected {
	all: initial;
	width: 100%;
	height: 50px;
	position: relative;
	left: 50%;
	font-size: 36px;
	transform: translateX(-50%);
	background-color: rgba(0, 0, 0, 0.85);
	color: #fff;
	margin: 20px 0 20px 0;
	padding: 5px 5px 10px 5px;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
div.songItemContainer.selected > div.songItem.selected {
	display: flex;
	flex-direction: column;
	transform: skew(15deg);
	margin: 0 0 0 15px;
	padding: 0;
	max-width: calc(100% - 100px);
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}
div.songItemContainer.selected > div.songItem.selected::after {
	content: attr(data-artist);
	font-size: 12px;
	font-weight: 100;
	margin-top: -5px;
}
div.songItemContainer.selected > div.level {
	height: 150% !important;
	width: 75px !important;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: #000;
	transform: translateY(2%);
}

div.songItemContainer.selected > div.level::before {
	background: none !important;
	content: attr(data-level);
	display: block;
	transform: skew(15deg);
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
div.songItemContainer.selected > div.level::after {
	content: "";
	display: block;
	font-size: 16px;
	transform: skew(15deg);
	margin: 0;
	padding: 0;
}
div.songItemContainer.selected > div.level.ez::after {
	content: "EZ";
}
div.songItemContainer.selected > div.level.hd::after {
	content: "HD";
}
div.songItemContainer.selected > div.level.in::after {
	content: "IN";
}
div.songItemContainer.selected > div.level.at::after {
	content: "AT";
}
div.rightArea {
	display: flex;
	flex-direction: column;
	position: fixed;
	right: 15%;
	height: 100%;
	width: 400px;
	justify-content: center;
	align-items: center;
	transform: skew(-15deg);
	overflow: hidden;
}
div.illustrationContainer {
	width: 150%;
	height: 245px;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	object-fit: cover;
	/* width: 100%;
	overflow: hidden; */
	margin-bottom: 15px;
}
img.illustration {
	height: 100%;
	width: 100%;
	object-fit: cover;
	margin-right: -50px;
	transform: skew(15deg);
	/* clip-path: polygon(75px 0, 100% 0, 400px 100%, 0 100%); */
}
div.detailBar {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	background-color: #00000055;
	color: #fff;
	margin-top: 15px;
	width: 100%;
	height: 35px;
}
div.levelChooser {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: fit-content;
	width: -moz-fit-content;
	height: 100%;
	background-color: #fff;
	color: #000;
	padding-left: 5px;
}
div.levelChooser > div.levelItem {
	width: 35px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 100%;
	margin: 0 5px 0 5px;
	cursor: pointer;
}
div.levelChooser > div.levelItem.ez {
	margin-left: 0;
}
div.levelChooser > div.levelItem.at {
	margin-left: 0;
}
div.levelChooser > div.levelItem.selected {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 120%;
	background-color: #6cf;
	color: #fff;
}
div.levelChooser > div.levelItem.selected.ez {
	background-color: #51af44;
}
div.levelChooser > div.levelItem.selected.hd {
	background-color: #3173b3;
}
div.levelChooser > div.levelItem.selected.in {
	background-color: #be2d23;
}
div.levelChooser > div.levelItem.selected.at {
	background-color: #3a3637;
}
div.levelChooser > div.levelItem::before {
	content: attr(data-level);
	transform: skew(15deg);
}
div.levelChooser > div.levelItem.fadeOut {
	animation: fade 0.3s ease-in;
}
div.levelChooser > div.levelItem.fadeIn {
	animation: fade 0.3s ease-in reverse;
}
@keyframes fade {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
div.levelChooser > div.levelItem::after {
	font-size: 12px;
	line-height: 0;
	transform: skew(15deg) scale(0.8);
}
div.levelChooser > div.levelItem.ez::after {
	content: "EZ";
}
div.levelChooser > div.levelItem.hd::after {
	content: "HD";
}
div.levelChooser > div.levelItem.in::after {
	content: "IN";
}
div.levelChooser > div.levelItem.at::after {
	content: "AT";
}
div.score {
	width: 200px;
	height: 100%;
	display: flex;
	font-size: 22px;
	justify-content: center;
	align-items: center;
	order: 0;
	transform: skew(15deg);
}
div.score::before {
	content: attr(data-acc);
	font-size: 12px;
	transform: scale(0.8);
	order: 1;
	display: flex;
	color: #999;
	justify-content: center;
	align-items: center;
	margin-bottom: -10px;
}
div.score.unplayed::after {
	content: "NEW";
	font-size: 14px;
	color: #999;
	padding-bottom: 10px;
	padding-right: 5px;
	order: 2;
	text-shadow: 0 0 5px #999;
}

div.playBtn {
	position: fixed;
	right: 0px;
	bottom: 15px;
	width: 100px;
	height: 85px;
	z-index: 1;
	background: url(./play.png) no-repeat center center;
	background-size: cover;
	cursor: pointer;
}

div.readyToLoadOverlay {
	height: 0;
	width: 0;
	margin: 0;
	padding: 0;
	opacity: 0;
}
div.readyToLoadOverlay.go {
	height: 100%;
	width: 999%;
	opacity: 1;
	z-index: 999;
	animation: slideIn 2s cubic-bezier(0.52, 0.28, 0.04, 0.98);
	position: fixed;
	top: 0;
	right: -100%;
	background-color: #000;
	transform: skew(-15deg);
}
@keyframes slideIn {
	0% {
		right: 100%;
	}
	100% {
		right: -100%;
	}
}
